// 会议模型类
// 包含会议产品包和产品的数据模型

class HotelPackage {
  final String id; // 添加唯一标识符
  final String name; // 产品包名称
  final double price; // 产品包价格
  final String description; // 产品包价格
  final String tag; // 产品包标签(如"热门"、"推荐"等)
  final List<HotelProduct> products; // 产品包中包含的产品列表

  HotelPackage({
    required this.id,
    required this.name,
    required this.price,
    required this.description,
    this.tag = '',
    required this.products,
  });
}

class HotelProduct {
  final String name; // 名称
  final bool free; // 是否免费
  final List<String> content; // 内容
  HotelProduct({
    required this.name,
    required this.free,
    required this.content,
  });
}

class HotelServices {
  final String name;
  final double price;

  HotelServices({
    required this.name,
    required this.price,
  });
}

/// 示例数据 - 会议产品包列表
List<HotelPackage> getHotelPackages() {
  return [
    HotelPackage(
      id: 'mp001', // 添加唯一ID
      name: '标准版',
      price: 299,
      description: '适用20间以下小型酒店',
      tag: '热销',
      products: [
        HotelProduct(
          name: '酒店组网（包含）',
          free: true,
          content: [
            '酒店专用千兆宽带',
            '酒店前台专用wifi',
          ],
        ),
        HotelProduct(
          name: '酒店应用（赠送）',
          free: true,
          content: [
            '通话语音500分钟',
            '手机流量100G',
          ],
        ),
        HotelProduct(
          name: '酒店增值服务',
          free: true,
          content: [
            '酒店完美联盟赠送10间加装25元/月/间',
            '视频监控35元/月/个',
          ],
        ),
      ],
    ),
    HotelPackage(
      id: 'mp002', // 添加唯一ID
      name: '旗舰版',
      price: 1599,
      description: '适用20-50间中小型酒店',
      tag: '热销',
      products: [
        HotelProduct(
          name: '酒店组网（包含）',
          free: true,
          content: [
            '酒店专用千兆宽带1000M',
            '全光组网1-1',
          ],
        ),
        HotelProduct(
          name: '酒店应用（赠送）',
          free: true,
          content: [
            '固话3连号尾号5/6/7/8',
            '视频监控 3个高清监控、7天云回看',
            'PAD电脑二合一',
            '商业AI彩铃',
          ],
        ),
        HotelProduct(
          name: '酒店增值服务',
          free: true,
          content: [
            '酒店完美联盟-赠送50间，加装20元',
            'AI视频监控30元/月/个',
          ],
        ),
      ],
    ),
    HotelPackage(
      id: 'mp003', // 添加唯一ID
      name: '豪华版',
      price: 2399,
      description: '适用50-200间中大型酒店',
      tag: '热销',
      products: [
        HotelProduct(
          name: '酒店组网（包含）',
          free: true,
          content: [
            '酒店专用千兆宽带1000M',
            '全光组网1-4',
          ],
        ),
        HotelProduct(
          name: '酒店应用（赠送）',
          free: true,
          content: [
            '固话3连号尾号5/6/7/8',
            '视频监控-5个高清监控、30天云回看',
            'PAD电脑二合一*2',
            '商业AI彩铃',
            '手机语音2000分钟',
            '手机流量150G',
            '7*24小时运营维护售后保障服务',
          ],
        ),
        HotelProduct(
          name: '酒店增值服务',
          free: true,
          content: [
            '酒店完美联盟-赠送50间，加装20元',
            'AI视频监控30元/月/个',
          ],
        ),
      ],
    ),
  ];
}

List<HotelServices> getHotelServices() {
  return [
    HotelServices(
      name: '全光组网1-1',
      price: 200,
    ),
    HotelServices(
      name: '全光组网子路由',
      price: 100,
    ),
    HotelServices(
      name: '定制版酒店ITV开机画面',
      price: 10,
    ),
    HotelServices(
      name: '30天全天云回看',
      price: 30,
    ),
    HotelServices(
      name: '60天全天云回看',
      price: 60,
    ),
    HotelServices(
      name: '90天全天云回看',
      price: 90,
    ),
    HotelServices(
      name: '智能音响',
      price: 30,
    ),
    HotelServices(
      name: '智能电视',
      price: 200,
    ),
    HotelServices(
      name: 'PAD电脑二合一',
      price: 79,
    ),
    HotelServices(
      name: '慧推广',
      price: 29,
    ),
  ];
}
